package cn.kgc.springcloud.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: mosin
 * @version: v1.0  2022/6/11
 */
@FeignClient(value = "HYSTRIXCLIENT",fallback = HystrixClientFallBack.class )
public interface HystrixClient {

    @RequestMapping("/hystrix/h1")
    String test01(@RequestParam("id") Integer id);

}
